package com.ccys.db.mapper;

import com.ccys.db.dto.CommonDto;
import com.ccys.db.dto.userManagement.TblMemberFamilyDTO;
import com.ccys.db.entity.TblMemberFamily;
import com.ccys.db.vo.member.ChildVO;
import com.ccys.db.vo.userManagement.TblMemberFamilyWebVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/18
*/
public interface TblMemberFamilyMapper extends Mapper<TblMemberFamily>, MySqlMapper<TblMemberFamily> {
       /**
        * @description 查询病人家属列表
        * @date     2023/12/23
        * @author   cloud fly
        */
    List<TblMemberFamilyWebVO> listObjectsCms(TblMemberFamilyDTO dto);

    /**
     * @description 查询家庭成员列表
     * @date     2024/1/31
     * @author   cloud fly
     */
    //List<ChildVO> getChildrenList(CommonDto dto);

    /**
     * 根据id软删除数据
     * @param id 数据本身ID
     */
    void updateDelFlagTrueByFamilyId(@Param("id") String id);
}